<template>
    <view v-html="aboutUs.content"></view>
</template>

<script setup>
import { richtext } from '@/api/index.js';
import { utils } from '@/utils/utils.js';
import { onLoad } from '@dcloudio/uni-app';
import { ref } from 'vue';
const aboutUs = ref({});
onLoad(() => {
    aboutMys();
});

const aboutMys = async () => {
    const ret = await richtext(2);
    console.log(ret);
    if (ret.code == 1) {
        aboutUs.value = ret.data;
    } else {
        utils();
    }
};
</script>

<style lang="scss" scoped></style>
